<%--
  Created by IntelliJ IDEA.
  User: fan
  Date: 2022/9/7
  Time: 21:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="ftm" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>分项工程详情</title>
</head>
<body>
    <table align="center" width="80%" border="1px" bgcolor="#fff8dc">
        <tr>
            <th>分项工程编号</th>
            <th>分项工程名称</th>
            <th>分项工程开始时间</th>
            <th>分项工程结束时间</th>
            <th>更新时间</th>
            <th>状态</th>
            <th>子工程名称</th>
            <th>工程编号</th>
        </tr>
        <tr>
            <td>${subitem.suid}</td>
            <td>${subitem.sname}</td>
            <td>${subitem.starttime}</td>
            <td>${subitem.endtime}</td>
            <td>${subitem.updatetime}</td>
            <td>${subitem.status}</td>
            <td>
                <c:forEach items="${subitem.items}" var="item">
                    <a href="/item/findItemByIname?iname=${item.iname}">${item.iname}</a>
                </c:forEach>
            </td>
            <td>
                <a href="/project/findProjectByPid?pid=${subitem.pid}">${subitem.pid}</a>
            </td>
        </tr>
    </table>
</body>
</html>
